import request from '@/utils/request'

export function getStandardList (params) {
	return request({
		url: '/basic-api/zd/standard/getStandardList',
		method: 'get',
		params
	})
}
export function getCustStandard (custId) {
	return request({
		url: '/basic-api/zd/standard/getCustStandard/' + custId,
		method: 'get'
	})
}

export function addStandard (data) {
	return request({
		url: '/basic-api/zd/standard/add',
		method: 'post',
		data
	})
}

export function updateStandard (data) {
	return request({
		url: '/basic-api/zd/standard/update',
		method: 'post',
		data
	})
}

export function removeStandard (id) {
	return request({
		url: '/basic-api/zd/standard/remove/' + id,
		method: 'post',
	})
}